package net.amsoft.iservice.icontact.hibernate;

import java.util.Date;

public class Synonym extends IContactObject {
    private String name;
    private Subscriber subscriber;
    private Synonym globalINumber;
    private ContactPage contactPage;

    public Synonym() {
    }

    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public Subscriber getSubscriber() {
        return this.subscriber;
    }
    public void setSubscriber(Subscriber subscriber) {
        this.subscriber = subscriber;
    }

    public Synonym getGlobalINumber() {
        return this.globalINumber;
    }
    public void setGlobalINumber(Synonym globalINumber) {
        this.globalINumber = globalINumber;
    }

    public ContactPage getContactPage() {
        return contactPage;
    }
    public void setContactPage(ContactPage contactPage) {
        this.contactPage = contactPage;
    }

    public IContactObject insert() {
        this.setState(state);
        this.setSubscriber(subscriber);
        this.setCreationTime(new Date());
        this.setModificationTime(new Date());
        return (this);
    }
}
